import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/drag'
  },
  {
    path: '/drag',
    component: () => import(/* webpackChunkName: "drag" */ '../views/drag')
  },
  {
    path: '/ripple',
    component: () => import(/* webpackChunkName: "ripple" */ '../views/ripple')
  }
]

const router = new VueRouter({
  routes
})

export default router
